package org.edu.modules.research.rwork.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import java.sql.Timestamp;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * entity-会议表（会议，或调用OA会议模块）
 */
@TableName
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="会议表（会议，或调用OA会议模块）对象", description="ve_jky_meet")
public class VeJkyMeet extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "会议主题")
    @Length(max = 255)
    private String title;

    @TableField
    @ApiModelProperty(value = "其他人员")
    @Length(max = 500)
    private String otherUser;

    @TableField
    @ApiModelProperty(value = "会议内容")
    @Length(max = 65535)
    private String content;

    @TableField
    @ApiModelProperty(value = "会议场地id")
    private Integer placeId;

    @TableField
    @ApiModelProperty(value = "联系人")
    @Length(max = 20)
    private String contactMan;

    @TableField
    @ApiModelProperty(value = "联系电话")
    @Length(max = 20)
    private String mobile;

    @TableField
    @ApiModelProperty(value = "联系邮箱")
    @Length(max = 100)
    private String email;

    @TableField
    @ApiModelProperty(value = "创建用户id")
    @Length(max = 36)
    private String createUid;

    @TableField
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd hh:mm:ss")
    private Date createTime;

    @TableField
    @ApiModelProperty(value = "会议开始时间")
    @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd hh:mm:ss")
    private Date startTime;

    @TableField
    @ApiModelProperty(value = "会议结束时间")
    @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd hh:mm:ss")
    private Date endTime;

    @TableField
    @ApiModelProperty(value = "审核人id")
    @Length(max = 36)
    private String markUid;

    @TableField
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd hh:mm:ss")
    private Date markTime;

    @TableField
    @ApiModelProperty(value = "审核人名称")
    @Length(max = 55)
    private String markName;

    @TableField
    @ApiModelProperty(value = "创建用户名称")
    @Length(max = 55)
    private String createName;
}
